<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <title>NormalSystem</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" href="./css/font.css">
  <link rel="stylesheet" href="./css/xadmin.css">
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
  <script type="text/javascript" src="./js/xadmin.js"></script>
  <script type="text/javascript" src="./js/role.js"></script>
</head>
  
  <body>
  <div class="x-nav">
      <span class="layui-breadcrumb">
        <a href="">首页</a>
        <a href="">管理员管理</a>
        <a>
          <cite>角色列表</cite></a>
      </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
      <i class="layui-icon" style="line-height:30px">ဂ</i></a>
  </div>
    <div class="x-body">
        <div class="roleTable">
            <div class="layui-inline">
                <input class="layui-input" name="name" id="roleReload" autocomplete="off" placeholder="输入要搜索的角色">
            </div>
            <button class="layui-btn" data-type="reload">搜索</button>
        </div>
      <xblock>
        <button class="layui-btn" id="addRole" ><i class="layui-icon"></i>添加</button>
      </xblock>
        <table id="roleList" lay-filter="roleList"></table>
    </div>
  <script type="text/html" id="roleBar">
        {{# if(d.status==1){ }}
        <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="cancel">停用</a>
            {{# } }}
        {{# if(d.status==2){ }}
        <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">编辑</a>
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="del">删除</a>
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="use">启用</a>
        <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="bind">分配权限</a>
            {{# } }}
    </script>
  </body>

</html>